#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#define SWAP(N) ((N&0X55555555)<<1)+((N&0xaaaaaaaa)>>1)

int main()
{
	int a = 10;
	printf("%d\n", SWAP(a));
}